package com.xingyun.info_manager.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Classname PatientInfo
 * @Description 预约患者登记信息
 * @Date 2020/5/26 9:37
 * @Created by You
 */
public class PatientInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    //id
    private Integer id;

    //姓名
    private String patName;

    //性别
    private Integer gender;

    //年龄
    private Integer age;

    //手机号
    private String phone;

    //微信
    private String wechat;

    //咨询方式1:商务通2:电话3:市场电话4:商转微5:微信9:其他）
    private Integer consultType;

    //患者情况
    private String patSituation;

    //预约科室
    private String appointDept;

    //病种
    private String diseaseEntities;

    //预约时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date appointTime;

    //患者意向
    private String patIntention;

    //是否来院
    private Integer isComeHospital;

    //未到院回访情况
    private String notComeReason;

    //接诊医生
    private String attendDoctor;

    //治疗项目
    private String treatmentItems;

    //是否住院
    private Integer isInHospital;

    //消费金额
    private BigDecimal totalMoney;

    //是否复诊
    private Integer subsequentVisit;

    //是否需要回访
    private Integer returnVisit;

    //信息状态
    private Integer patState;

    //创建人
    private String createUser;

    //创建人所属渠道
    private Integer createChannelNo;

    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;

    //修改人
    private String updateUser;

    //修改人所属渠道
    private Integer updateChannelNo;

    //修改时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date updateTime;

    public Integer getPatState() {
        return patState;
    }

    public void setPatState(Integer patState) {
        this.patState = patState;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPatName() {
        return patName;
    }

    public void setPatName(String patName) {
        this.patName = patName;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public Integer getConsultType() {
        return consultType;
    }

    public void setConsultType(Integer consultType) {
        this.consultType = consultType;
    }

    public String getPatSituation() {
        return patSituation;
    }

    public void setPatSituation(String patSituation) {
        this.patSituation = patSituation;
    }

    public String getAppointDept() {
        return appointDept;
    }

    public void setAppointDept(String appointDept) {
        this.appointDept = appointDept;
    }

    public String getDiseaseEntities() {
        return diseaseEntities;
    }

    public void setDiseaseEntities(String diseaseEntities) {
        this.diseaseEntities = diseaseEntities;
    }

    public Date getAppointTime() {
        return appointTime;
    }

    public void setAppointTime(Date appointTime) {
        this.appointTime = appointTime;
    }

    public String getPatIntention() {
        return patIntention;
    }

    public void setPatIntention(String patIntention) {
        this.patIntention = patIntention;
    }

    public Integer getIsComeHospital() {
        return isComeHospital;
    }

    public void setIsComeHospital(Integer isComeHospital) {
        this.isComeHospital = isComeHospital;
    }

    public String getNotComeReason() {
        return notComeReason;
    }

    public void setNotComeReason(String notComeReason) {
        this.notComeReason = notComeReason;
    }

    public String getAttendDoctor() {
        return attendDoctor;
    }

    public void setAttendDoctor(String attendDoctor) {
        this.attendDoctor = attendDoctor;
    }

    public String getTreatmentItems() {
        return treatmentItems;
    }

    public void setTreatmentItems(String treatmentItems) {
        this.treatmentItems = treatmentItems;
    }

    public Integer getIsInHospital() {
        return isInHospital;
    }

    public void setIsInHospital(Integer isInHospital) {
        this.isInHospital = isInHospital;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Integer getSubsequentVisit() {
        return subsequentVisit;
    }

    public void setSubsequentVisit(Integer subsequentVisit) {
        this.subsequentVisit = subsequentVisit;
    }

    public Integer getReturnVisit() {
        return returnVisit;
    }

    public void setReturnVisit(Integer returnVisit) {
        this.returnVisit = returnVisit;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Integer getCreateChannelNo() {
        return createChannelNo;
    }

    public void setCreateChannelNo(Integer createChannelNo) {
        this.createChannelNo = createChannelNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getUpdateChannelNo() {
        return updateChannelNo;
    }

    public void setUpdateChannelNo(Integer updateChannelNo) {
        this.updateChannelNo = updateChannelNo;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {

        return "PatientInfo{" +
                "id=" + id +
                ", patName='" + patName + '\'' +
                ", gender=" + gender +
                ", age=" + age +
                ", phone='" + phone + '\'' +
                ", wechat='" + wechat + '\'' +
                ", consultType=" + consultType +
                ", patSituation='" + patSituation + '\'' +
                ", appointDept='" + appointDept + '\'' +
                ", diseaseEntities='" + diseaseEntities + '\'' +
                ", appointTime=" + appointTime +
                ", patIntention='" + patIntention + '\'' +
                ", isComeHospital=" + isComeHospital +
                ", notComeReason='" + notComeReason + '\'' +
                ", attendDoctor='" + attendDoctor + '\'' +
                ", treatmentItems='" + treatmentItems + '\'' +
                ", isInHospital=" + isInHospital +
                ", totalMoney=" + totalMoney +
                ", subsequentVisit=" + subsequentVisit +
                ", returnVisit=" + returnVisit +
                ", patState=" + patState +
                ", createUser='" + createUser + '\'' +
                ", createChannelNo=" + createChannelNo +
                ", createTime=" + createTime +
                ", updateUser='" + updateUser + '\'' +
                ", updateChannelNo=" + updateChannelNo +
                ", updateTime=" + updateTime +
                '}';
    }
}
